package org.uim.cricket.entities.match;

import org.uim.cricket.entities.Player;
import org.uim.cricket.entities.aggr.SingleInning;

public class CricketMatch {

	private MatchID id = null;
	private SeriesPlayed series = null;
	private String team1 = null;
	private String team2 = null;
	private MatchResult result = null;
	private Ground ground = null;
	private boolean dayNight = false;
	private MatchDates dates = null;
	private String maximumOvers = null;
	private Venue venue = null;
	private MatchSpans spans = null;
	
	private Toss toss = null;
	private Player[] debutPlayers = null;
	private Player[] manOfTheSeries = null;
	private Player[] manOfTheMatch = null;

	private MatchOfficials officials = null;

	private SingleInning[] innings = null;
	
	public void setId(MatchID id) {
		this.id = id;
	}

	public MatchID getId() {
		return id;
	}

	public void setSeries(SeriesPlayed series) {
		this.series = series;
	}

	public SeriesPlayed getSeries() {
		return series;
	}

	public void setTeam2(String team2) {
		this.team2 = team2;
	}

	public void setTeam1(String team1) {
		this.team1 = team1;
	}

	public String getTeam2() {
		return team2;
	}

	public String getTeam1() {
		return team1;
	}

	public void setResult(MatchResult result) {
		this.result = result;
	}

	public MatchResult getResult() {
		return result;
	}

	public void setGround(Ground ground) {
		this.ground = ground;
	}

	public void setDayNight(boolean dayNight) {
		this.dayNight = dayNight;
	}

	public boolean isDayNight() {
		return dayNight;
	}

	public Ground getGround() {
		return ground;
	}

	public void setDates(MatchDates dates) {
		this.dates = dates;
	}

	public MatchDates getDates() {
		return dates;
	}

	public void setToss(Toss toss) {
		this.toss = toss;
	}

	public void setDebutPlayers(Player[] debutPlayers) {
		this.debutPlayers = debutPlayers;
	}

	public Toss getToss() {
		return toss;
	}

	public Player[] getDebutPlayers() {
		return debutPlayers;
	}

	public void setManOfTheSeries(Player[] manOfTheSeries) {
		this.manOfTheSeries = manOfTheSeries;
	}

	public void setManOfTheMatch(Player[] manOfTheMatch) {
		this.manOfTheMatch = manOfTheMatch;
	}

	public Player[] getManOfTheSeries() {
		return manOfTheSeries;
	}

	public Player[] getManOfTheMatch() {
		return manOfTheMatch;
	}

	public void setOfficials(MatchOfficials officials) {
		this.officials = officials;
	}

	public MatchOfficials getOfficials() {
		return officials;
	}

	public void setMaximumOvers(String maximumOvers) {
		this.maximumOvers = maximumOvers;
	}
	
	public String getMaximumOvers() {
		return maximumOvers;
	}
	
	public void setVenue(Venue venue) {
		this.venue = venue;
	}
	
	public Venue getVenue() {
		return venue;
	}
	
	public void setInnings(SingleInning[] innings) {
		this.innings = innings;
	}
	
	public SingleInning[] getInnings() {
		return innings;
	}
	
	public void setSpans(MatchSpans spans) {
		this.spans = spans;
	}
	
	public MatchSpans getSpans() {
		return spans;
	}
	
	
}
